﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Xml.Serialization;

namespace BYRBBS.Model
{
    [XmlRoot("mail")]
    public class Mail
    {
        [XmlElement("index")]
        public string Index { get; set; }
        [XmlElement("is_m")]
        public string Is_m { get; set; }
        [XmlElement("is_read")]
        public string Is_read { get; set; }
        [XmlElement("is_reply")]
        public string Is_reply { get; set; }
        [XmlElement("has_attachment")]
        public string Has_attachment { get; set; }
        [XmlElement("title")]
        public string Title { get; set; }
        [XmlElement("user")]
        public UserInfo User { get; set; }
        [XmlElement("post_time")]
        public string Post_time { get; set; }
        [XmlElement("box_name")]
        public string Box_name { get; set; }

        [XmlElement("content")]
        public string Content { get; set; }
        [XmlElement("attachment")]
        public Attachment Att { get; set; }
    }
}
